package org.finmanager.core;

import javax.swing.*;

/**
 * Created by Kelvin on 2/4/2014.
 */

//When user right click on certain item in the table
//Same small window of that in ADDitem will be popped up
public class ItemInputUIEdit extends AbstractItemInputUI {
	ItemInputUIEdit(ItemManagerController itemManagerController, ComboBoxModel listModel, Item item) {
		super(itemManagerController, listModel);

		getOkayButton().setActionCommand(ItemManagerController.EDIT_ITEM);

		setFieldFromItem(item);
	}
}
